package thread.TimingWheel;

public class TimerExample {
    public static void main(String[] args) throws InterruptedException {
        TimerLauncher timerLauncher = new TimerLauncher();
        timerLauncher.add(new TimerTask("task1", 5000));
        timerLauncher.add(new TimerTask("task2", 10000));

        Thread.sleep(20000);

        timerLauncher.shutdown();
    }
}
